<div class="view-index">
<table class="view-index">
	<tr>
	<td rowspan="2" width=50px>
		<?php
		if ($data->pictures_path)
		{
			//explode pictures paths...
			$paths = explode(";", $data->pictures_path);
			?>
			<img src="<?php echo $paths[0]; ?>" alt="Creative" height="42" >
			<?php
		}
		else
		{
			?>
			<img src="/files/default_crea.gif" alt="Creative" height="42">
			<?php
		}
		?>
	</td>
	<td>
		<b><?php echo CHtml::link(CHtml::encode($data->title), array('view', 'id'=>$data->id)); ?></b><br>
	</td>
	<td width="23%">
		<?php echo $data->date; ?>
	</td>
	</tr>
	<tr>
		<td colspan="2">
		<?php 
			$data->description = substr($data->description, 0, 500);
			$data->description = strip_tags($data->description);
			$data->description = str_replace('&nbsp;', '', $data->description);
			echo $data->description;
		?>
	</td>
	</tr>
</table>
</div>